package br.com.ps.bombertournament.game.object;

import br.com.ps.bombertournament.game.BaseGameObject;
import br.com.ps.bombertournament.game.MappedGameObject;

public class Floor extends MappedGameObject implements Cloneable {
	
	private String configurationsPath;
	private static final String CONFIGURATIONS_PROPERTY = "configurations";
	
	public Floor() {}
	
	public Floor(String configurationsPath) {
		this.configurationsPath = configurationsPath;
	}
	
	@Override
	public String getMapPath() {
		return configurationsPath != null ? configurationsPath:  super.getConfigurations().getString(CONFIGURATIONS_PROPERTY);
	}
	
	@Override
	public void onRemove() {
		// Do nothing
	}
	
	@Override
	public void onCollision(BaseGameObject other) {
		// Do nothing
	}
}
